使用 https://github.com/AFNetworking/AFNetworking 上传文件时https请求Status Code 200(正常)Request failed unacceptable content-type问题
需要在原代码中加入以下codeblock来解决
最终代码
1 | AFHTTPSessionManager *manager = [AFHTTPSessionManager manager]; |
参考链接
https://www.jianshu.com/p/3bc4243e4c05
https://github.com/AFNetworking/AFNetworking